class SubProcess
{
    def String name = ""
    def String description = ""

    // sequence number within the business process
    def int sequence_number = 0

    def String initiator = ""
    def String role = ""
    def String frequency = ""
    def String trigger = ""

    // is it invoked on demand
    def boolean onDemand = false

    def OpDayTimelineItem timelineItem = new OpDayTimelineItem()

    def appServices = new LinkedHashMap()

    SubProcess(String name) {this.name = name}
}
